
export interface ICategory {
    category_id: number
    category_name: string
}

export enum AccountType{
    income = '收入',
    expend = '支出'
}
export interface IAccount {
    account_id: number
    account_type: AccountType
    amount: number
    category_id: number
    category_name: string
    date_time: Date
    notes: string
}

// axios响应
export interface AxiosRespond<T> {
    code: number
    data: T
    message?: string
}

export enum DateFilterType{
    year = 'year',
    month = 'month'
}

